package zhoufu.sz.sanxiao_check.models;

import android.os.Parcel;
import android.os.Parcelable;

/***
 * Main页面中分级列表中的数据Model
 *
 * @author Administrator
 */
public class StreetListModel extends BaseModel<StreetListModel> implements Parcelable
{


    /**
     * RID : 2857
     * Address : 上早村A30栋1楼（上早村96-101）
     * Owner_Name : 无
     * Phone : 0
     * SID :
     * Name :
     * Place_No :
     * Run_Name :
     * Run_Phone :
     * ExaminTime :
     * IsCheck : 0
     * Grade :
     */

    private String RID;
    private String Address;
    private String Owner_Name;
    private String Phone;
    private String SID;
    private String Name;
    private String Place_No;
    private String Run_Name;
    private String Run_Phone;
    private String ExaminTime;
    private String IsCheck;
    private String Grade;
    private String Building_No;
    private int    NextDay;

    public StreetListModel()
    {

    }

    protected StreetListModel(Parcel in)
    {
        RID = in.readString();
        Address = in.readString();
        Owner_Name = in.readString();
        Phone = in.readString();
        SID = in.readString();
        Name = in.readString();
        Place_No = in.readString();
        Run_Name = in.readString();
        Run_Phone = in.readString();
        ExaminTime = in.readString();
        IsCheck = in.readString();
        Grade = in.readString();
        Building_No = in.readString();
    }

    public static final Creator<StreetListModel> CREATOR = new Creator<StreetListModel>()
    {
        @Override
        public StreetListModel createFromParcel(Parcel in)
        {
            return new StreetListModel(in);
        }

        @Override
        public StreetListModel[] newArray(int size)
        {
            return new StreetListModel[size];
        }
    };

    public String getRID()
    {
        return RID;
    }

    public void setRID(String RID)
    {
        this.RID = RID;
    }

    public String getAddress()
    {
        return Address;
    }

    public void setAddress(String Address)
    {
        this.Address = Address;
    }

    public String getOwner_Name()
    {
        return Owner_Name;
    }

    public void setOwner_Name(String Owner_Name)
    {
        this.Owner_Name = Owner_Name;
    }

    public String getPhone()
    {
        return Phone;
    }

    public void setPhone(String Phone)
    {
        this.Phone = Phone;
    }

    public String getSID()
    {
        return SID;
    }

    public void setSID(String SID)
    {
        this.SID = SID;
    }

    public String getName()
    {
        return Name;
    }

    public void setName(String Name)
    {
        this.Name = Name;
    }

    public String getPlace_No()
    {
        return Place_No;
    }

    public void setPlace_No(String Place_No)
    {
        this.Place_No = Place_No;
    }

    public String getRun_Name()
    {
        return Run_Name;
    }

    public void setRun_Name(String Run_Name)
    {
        this.Run_Name = Run_Name;
    }

    public String getRun_Phone()
    {
        return Run_Phone;
    }

    public void setRun_Phone(String Run_Phone)
    {
        this.Run_Phone = Run_Phone;
    }

    public String getExaminTime()
    {
        return ExaminTime;
    }

    public void setExaminTime(String ExaminTime)
    {
        this.ExaminTime = ExaminTime;
    }

    public String getIsCheck()
    {
        return IsCheck;
    }

    public void setIsCheck(String IsCheck)
    {
        this.IsCheck = IsCheck;
    }

    public String getGrade()
    {
        return Grade;
    }

    public void setGrade(String Grade)
    {
        this.Grade = Grade;
    }

    public String getBuilding_No()
    {
        return Building_No;
    }

    public void setBuilding_No(String building_No)
    {
        Building_No = building_No;
    }

    @Override public int describeContents()
    {
        return 0;
    }

    public int getNextDay()
    {
        return NextDay;
    }

    public void setNextDay(int nextDay)
    {
        NextDay = nextDay;
    }

    @Override public void writeToParcel(Parcel dest, int flags)
    {
        dest.writeString(RID);
        dest.writeString(Address);
        dest.writeString(Owner_Name);
        dest.writeString(Phone);
        dest.writeString(SID);
        dest.writeString(Name);
        dest.writeString(Place_No);
        dest.writeString(Run_Name);
        dest.writeString(Run_Phone);
        dest.writeString(ExaminTime);
        dest.writeString(IsCheck);
        dest.writeString(Grade);
        dest.writeString(Building_No);
    }
}
